.tabs {
  position: absolute;
  width: 100%;
  height: calc(100% - 12px - 36px);
  clear: both;
  margin: 11px 0;
  padding: 0;
}

.tab {
  float: left;
}

.tab > label {
  background: #eee;
  color: #333;
  padding: 10px;
  border: 1px solid #eee;
  margin-left: -1px;
  position: relative;
  left: 1px;
  cursor: pointer;
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
}

.tab [type=radio] {
  display: none;
}

.tab [type=radio]:checked ~ label {
  background: #ccc;
  color: #fff;
  z-index: 2;
  border-bottom: 2px inset #ccc;
  box-shadow: inset 0px -4px 0px -2px white;
}

.tab [type=radio]:checked ~ label ~ .content {
  z-index: 5;
}

.content {
  position: absolute;
  top: 28px;
  left: 0;
  background: white;
  right: 0;
  bottom: 0;
  border-top: 1px solid #ccc;
}

#output > iframe {
  width: 100%;
  height: calc(100% - 33px);
}

body {
  background: #eee;
  margin: 0;
  padding: 0;
  overflow-y: hidden;
}

#modules {
  float: initial;
  position: initial;
  margin-left: 0;
  width: initial;
}

#modules .menu-container {
  height: 100%;
}

#modules .menu-list {
  height: calc(100% - 72px);
}

.main-view-link {
  cursor: pointer;
  position: relative;
}

.main-view-link a {
  content: '';
  background: url('../assets/icons/link.svg') center / 20px no-repeat transparent;
  position: absolute;
  top: 11px;
  right: 10px;
  width: 20px;
  height: 20px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 8px;
}

@media (max-width: 290px) {
  .button-text {
    display: none;
  }

  .custom-button > span {
    width: 24px !important;
  }
}
